package cn.wolfcode.wolf2w.domain;

import cn.wolfcode.wolf2w.uitl.BaseDomain;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@Document("visit")
@ToString
public class Visit extends BaseDomain {
    private String ownerId;
    private int totalView=0;
    private List<String> visitorIds= new ArrayList<>();
}
